FROM openjdk:11.0.12-jre-slim-buster

LABEL maintainer="<yaolianhua@cloudtogo.cn>"

WORKDIR /gendb/

COPY mysql mysql
COPY gendb-starter/target/gendb.jar gendb.jar

ENV JAVA_OPTS="-Xms128m -Xmx512m"
EXPOSE 8080

CMD java $JAVA_OPTS -jar gendb.jar